package com.ewo.service.impl;

import com.ewo.entity.Task;
import com.ewo.entity.User;
import com.ewo.mapper.TaskMapper;
import com.ewo.mapper.UserMapper;
import com.ewo.service.TaskService;
import com.ewo.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class TaskServiceImpl implements TaskService {
    @Resource
    TaskMapper taskMapper;

    @Override
    public List<Task> findAllTask() {
        return taskMapper.findAllTask();
    }
}
